package game.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import common.model.po.GCreature;
import common.model.request.base.PaginationRequest;
import common.model.response.base.Result;
import game.model.request.SaveCreatureRequest;
import game.model.request.SearchCreatureRequest;
import game.model.vo.SearchCreatureVo;

/**
 * 服务类
 *
 * @author 米泽鹏
 * @since 2023-11-28 下午 06:19
 */
public interface GCreatureService extends IService<GCreature> {

	Page<SearchCreatureVo> searchCreatureByPage(PaginationRequest<SearchCreatureRequest, GCreature> paginationRequest);

	Result<?> saveCreature(SaveCreatureRequest request);

	Result<?> deleteCreature(Long id);

}
